<?php

date_default_timezone_set('prc');

$_POST['time']= date("Y-m-d,H:i",time());

$db[]=$_POST;


if($_POST['title']=='' || $_POST['body']==''){
	
	error('重新提交','index.php');

}else if(review($db)){

	success('留言成功','index.php');
}


?>